package com.czf.testmodule.oss.service;

import com.czf.testmodule.oss.entity.OssResult;
import org.springframework.http.ResponseEntity;
import org.springframework.web.multipart.MultipartFile;

import java.io.InputStream;

/**
 * @author zfChen
 * @create 2022/5/19 15:48
 */
public interface IOssService {

    OssResult upload(MultipartFile file);

    OssResult upload(InputStream inputStream,String name,String size);

    ResponseEntity<Object> download(String fileName);
}
